<?php include_once TEMPLATEPATH.'/av-define.php';?>
<!DOCTYPE html>
<html lang="pt">
<head>
<meta charset="UTF-8" />
<title>
<?php 
global $page, $paged;
wp_title( '|', true, 'right' );
bloginfo( 'name' );
$site_description = get_bloginfo( 'description', 'display' );
if ( $site_description && ( is_home() || is_front_page() ) ) { echo " | $site_description"; }	
?>
</title>
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
<!-- bxSlider CSS file -->
<link href="<?php echo bloginfo('template_directory')?>/lib/jquery.bxslider.css" rel="stylesheet" />
<script src="<?php echo bloginfo('template_directory')?>/js/jquery.min.js"></script>
<!-- bxSlider Javascript file -->
<script src="<?php echo bloginfo('template_directory')?>/js/jquery.bxslider.min.js"></script>
<!-- aba Javascript file -->
<script src="<?php echo bloginfo('template_directory')?>/js/lib.js" type="text/javascript"></script>
<!-- serviço de captura de páginas (page thumb) -->		
<script type="text/javascript" src="http://www.websnapr.com/js/websnapr.js"></script>
<script src="<?php echo bloginfo('template_directory')?>/js/gmap3.min.js"></script>
<!--
<script src="http://maps.googleapis.com/maps/api/js?sensor=false" type="text/javascript"></script>
-->
<?php 
wp_head(); 
// Recursos comuns às páginas
include_once RECURSO;
?>
</head>	
<?php flush(); ?>

<body onload="new Accordian('basic-accordian',10,'header_highlight');">
<div class="vertical_space_43"></div>	
<div id="tudo">


<div id="tudo2"><!-- Tudo generic filho-->


<!-- TOPO -->
<div id="topo2"><!-- Topo generic filho-->
	

	
	<div id="topo-marca">
		<!-- Logotipo -->
		<div id="topo-bloco-esquerdo">
			<span class="topo-marca-logo"><a href="<?php bloginfo( 'home' ); ?>"><img width="314" height="67" src="<?php echo bloginfo('template_directory')?>/modulos/images/topo/logo.png"></a></span>
			<a href="<?php bloginfo( 'home' ); ?>"><img width="83" height="67" src="<?php echo bloginfo('template_directory')?>/modulos/images/topo/logo2.png"></a>
		</div>
		<!-- Fim Logotipo -->			
		<div id="topo-bloco-direito">
			<!-- Publicidade google -->
			<div id="topo-pub-google"><?php add_google_pub_468x15(); ?><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div><!-- Publicidade google -->
			<!-- Bloco busca -->
			<div id="topo-bloco-busca">		        
		        <form method="get" style="margin:0; float:left;">
					<div class="divPesquisa">
						<img align="left" style="margin: 0; padding: 0;" src="<?php echo bloginfo('template_directory')?>/modulos/images/topo/pesquisa.png" width="35" height="35" /><input class="txtPesquisa" type="text" name="t" value="Pesquisa" onfocus="if(this.value=='Pesquisa'){this.value=''}" /> 
						<img align="left" style="margin: 0 2px;" src="<?php echo bloginfo('template_directory')?>/modulos/images/topo/separador.png" width="1" height="35" /> 
						<select class="selPesquisa" name="p">
							<option value="0">Todo o Site</option>
							<option value="1">Anuncios</option>
							<option value="2">Clubes</option>
							<option value="3">Criadores</option>
							<option value="4">Eventos</option>
							<option value="5">Artigos</option>
							<option value="6">Noticias</option>
							<option value="7">Multimedia</option>
							<option value="8">Produtos</option>
							<option value="9">Fotos</option>
							<option value="10">Diretorio</option>
						</select> 
						<input class="botPesquisa" type="submit" name="button" value="Pesquisar" />
					</div>
				</form><!-- Fim Formulário de busca -->				
			</div><!-- Fim bloco busca -->
		</div><!-- Fim topo-bloco-direito -->	
	</div><!-- Fim topo-marca -->







	<div id="topo-menu-principal">	
		<ul class="menu-principal" style="margin: 0; padding: 0;">
			
			
			
			<li><img alt="" src="<?php echo bloginfo('template_directory')?>/modulos/images/menu-principal/menu-principal-separador.png" width="1" height="58"></li>
			<li style="width: 80px;"><a href="http://avespt.com/3/"><img width="32" height="32" src="<?php echo bloginfo('template_directory')?>/modulos/images/menu-principal/home.png"><br>Inicio</a></li>
			<li><img alt="" src="<?php echo bloginfo('template_directory')?>/modulos/images/menu-principal/menu-principal-separador.png" width="1" height="58"></li>
			<li style="width: 80px;"><a href="http://avespt.com/3/anuncios.php"><img width="32" height="32" src="<?php echo bloginfo('template_directory')?>/modulos/images/menu-principal/anuncios.png"><br>Anuncios</a></li>
			<li><img alt="" src="<?php echo bloginfo('template_directory')?>/modulos/images/menu-principal/menu-principal-separador.png" width="1" height="58"></li>
			<li style="width: 80px;"><a href="http://avespt.com/3/clubes.php"><img 	width="32" height="32" src="<?php echo bloginfo('template_directory')?>/modulos/images/menu-principal/clubes.png"><br>Clubes</a></li>
			<li><img alt="" src="<?php echo bloginfo('template_directory')?>/modulos/images/menu-principal/menu-principal-separador.png" width="1" height="58"></li>
			<li style="width: 80px;"><a href="http://avespt.com/3/criadores.php"><img width="32" height="32" src="<?php echo bloginfo('template_directory')?>/modulos/images/menu-principal/criadores.png"><br>Criadores</a></li>
			<li><img alt="" src="<?php echo bloginfo('template_directory')?>/modulos/images/menu-principal/menu-principal-separador.png" width="1" height="58"></li>
			<li style="width: 80px;"><a href="http://avespt.com/3/eventos.php"><img width="32" height="32" src="<?php echo bloginfo('template_directory')?>/modulos/images/menu-principal/eventos.png"><br>Eventos</a></li>
			<li><img alt="" src="<?php echo bloginfo('template_directory')?>/modulos/images/menu-principal/menu-principal-separador.png" width="1" height="58"></li>
			<li style="width: 80px;"><a href="http://avespt.com/3/fotos.php"><img width="50" height="50" src="<?php echo bloginfo('template_directory')?>/modulos/images/menu-principal/fotos_logo50-50.png"></a></li>
			<li><img alt="" src="<?php echo bloginfo('template_directory')?>/modulos/images/menu-principal/menu-principal-separador.png" width="1" height="58"></li>
			<li style="width: 80px;"><a href="http://avespt.com/3/artigos.php"><img width="32" height="32" src="<?php echo bloginfo('template_directory')?>/modulos/images/menu-principal/artigos.png"><br>Artigos</a></li>
			<li><img alt="" src="<?php echo bloginfo('template_directory')?>/modulos/images/menu-principal/menu-principal-separador.png" width="1" height="58"></li>
			<li style="width: 80px;"><a href="http://avespt.com/3/noticias.php"><img width="32" height="32" src="<?php echo bloginfo('template_directory')?>/modulos/images/menu-principal/noticias.png"><br>Noticias</a></li>
			<li><img alt="" src="<?php echo bloginfo('template_directory')?>/modulos/images/menu-principal/menu-principal-separador.png" width="1" height="58"></li>
			<li style="width: 80px;"><a href="http://avespt.com/3/multimedia.php"><img width="32" height="32" src="<?php echo bloginfo('template_directory')?>/modulos/images/menu-principal/multimedia.png"><br>Multimedia</a></li>
			<li><img alt="" src="<?php echo bloginfo('template_directory')?>/modulos/images/menu-principal/menu-principal-separador.png" width="1" height="58"></li>
			<li style="width: 80px;"><a href="http://avespt.com/3/loja.php"><img width="32" height="32" src="<?php echo bloginfo('template_directory')?>/modulos/images/menu-principal/produtos.png"><br>Produtos</a></li>
			<li><img alt="" src="<?php echo bloginfo('template_directory')?>/modulos/images/menu-principal/menu-principal-separador.png" width="1" height="58"></li>
			<li style="width: 81px;"><a target="_blank" href="http://topsites.avespt.net/"><img width="50" height="50" src="<?php echo bloginfo('template_directory')?>/modulos/images/menu-principal/topsites_logo50-50.png"></a></li>
			<li><img alt="" src="<?php echo bloginfo('template_directory')?>/modulos/images/menu-principal/menu-principal-separador.png" width="1" height="58"></li>
			<li style="width: 86px;"><a target="_blank" href="http://forum.avespt.com/"><img width="50" height="50" src="<?php echo bloginfo('template_directory')?>/modulos/images/menu-principal/forum_logo50-50.png"></a></li>
			<li><img alt="" src="<?php echo bloginfo('template_directory')?>/modulos/images/menu-principal/menu-principal-separador.png" width="1" height="58"></li>
		
		</ul>
	</div><!-- Fim div topo-menu-principal -->
	<div class="vertical_space_5"></div>
	<div id="topo-menu-secundario" style="margin:auto;">	
	<?php dynamic_sidebar( 'Menu Principal' ); ?>	
		<!--<ul class="menu-secundario" style="margin: 0; padding: 0;">
			<li style="width: 139px;"><a href="">MODALIDADE</a></li> 
			<li style="width: 139px;"><a href="">AS AVES</a></li>
			<li style="width: 139px;"><a href="">ESPECIES</a></li>
			<li style="width: 139px;"><a href="">PORTUGAL</a></li>
			<li style="width: 139px;"><a href="">INTERESSANTE</a></li>
			<li style="width: 139px;"><a href="">ÚTIL</a></li>
			<li style="width: 139px;"><a href="">DIRETORIO</a></li>
			
		</ul>-->
	</div><!-- Fim div topo-menu-secundario -->
</div><!-- Fim div topo -->
<div class="vertical_space_20"></div>
<!-- TOPO -->
<!-- CORPO -->
<div id="corpo">
<!-- MIGALHAS DE PÂO -->

<?php 
if (is_front_page()) {
	//Do nothing
} else { ?>
<div class="breadcrumb" style="margin-left: 20px;">
	<?php 
	if (!is_home()) {
		echo '<div class="vertical_space_20"></div>';
		echo '<a href="';
		echo get_option('home');
		echo '">';
		bloginfo('name');
		echo "</a> » ";
		if (is_category() || is_single())  {
			the_category('title_li=');
			if (is_single()) {
				echo " » ";
				the_title();
			}
		} elseif (is_page()) {
			echo the_title();
		}
	} 
	?>
</div>			
<!-- MIGALHAS DE PÂO -->
<?php
}
?>


